#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stddef.h> 
struct s1
{
	char _a[10];
	char _b[8];
	int _d;
};
int main()
{
	struct s1 x = { "xiaohong","xs25083",18 };
	printf("%zd\n", offsetof(struct s1, _a));
	printf("%zd\n", offsetof(struct s1, _b));
	printf("%zd\n", offsetof(struct s1, _d));
	printf("%d\n",sizeof(struct s1 )); 
	return 0;
}